createDisabledStateList

@NonNull
open fun createDisabledStateList(textColor: Int, disabledTextColor: Int): @NonNull ColorStateList(source)

Creates a color state list from the provided colors.

Return

Color state list.

Parameters

textColor

Regular text color.

disabledTextColor

Disabled text color.